From 56e83ff6663c66258935a2d4cfaabdee03f49a89 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Tue, 27 Jan 2009 10:25:33 +0000 Subject: [PATCH] x86: Fix shadow_check_page_struct_offsets() comment. Signed-off-by: Keir Fraser --- xen/arch/x86/mm/shadow/private.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xen/arch/x86/mm/shadow/private.h b/xen/arch/x86/mm/shadow/private.h index 83e8a2a728..33516f784e 100644 --- a/xen/arch/x86/mm/shadow/private.h +++ b/xen/arch/x86/mm/shadow/private.h @@ -265,8 +265,8 @@ struct shadow_page_info /* The structure above *must* be no larger than a struct page_info * from mm.h, since we'll be using the same space in the frametable. - * Also, the mbz field must line up with the owner field of normal - * pages, so they look properly like anonymous/xen pages. */ + * Also, the mbz field must line up with the count_info field of normal + * pages, so they cannot be successfully get_page()d. */ static inline void shadow_check_page_struct_offsets(void) { BUILD_BUG_ON(sizeof (struct shadow_page_info) != sizeof (struct page_info)); -- 2.30.2